{extend name="mainadmin@layouts/base" /}
{block name="head"}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
{/block}
{block name="main" }

<header class="header  b-b clearfix">
    <div class="page-breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <i class="fa fa-ellipsis-v"></i>
                <strong>单位管理</strong>&nbsp;
            </li>
        </ul>
    </div>
</header>

<section class="scrollable  wrapper">
    <section class="panel panel-default">
        <header class="panel-heading">
            <a href="javascript:;" data-remote="{:url('info')}" data-toggle="ajaxModal" class="btn btn-sm btn-default"><i class="fa fa-plus m-r-xs"></i>添加单位</a>



        </header>
        <div class="panel-body">


            <div class="col-sm-12">

                <div class="dd" >
                    <ol class="dd-list">

                        {volist name="list" id="vo" }
                        <li class="dd-item" data-id="{$vo.id}">
                            <div class="dd-handle">
                               {$vo.name}
                                <span class="pull-right">
                                    <a href="{:url('info',array('id'=>$vo['id']))}" data-toggle="ajaxModal"><i class="fa fa-pencil icon-muted fa-fw m-r-xs"></i></a>
                                </span>
                            </div>
                        </li>
                        {/volist}

                    </ol>
                </div>

                <div class="<?=empty($list)?'':'hide'?>" id="noClassify">
                    暂无相关数据
                </div>

            </div>


        </div>

    </section>
</section>
{/block}
{block name="footer"}
<script type="text/javascript">
    seajs.use("dist/goods/init.js")
</script>
{/block}